﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace WindowsGame.Ui
{
    class VisibleObject
    {
        protected static Vector3 Grey = new Vector3(0.5f);

        // Content
        public UiModel UiModel { get; set; }
        public Texture2D Texture { get; set; }

        public Model Model { get; set; }
        public Matrix WorldTransform { get; set; }
        public string FriendlyId { get; set; }
        
        public VisibleObject(UiModel uiModel)
        {
            UiModel = uiModel;
            DiffuseColor = Grey;
        }

        public virtual Vector3 DiffuseColor { get; set; }

        public virtual float Alpha
        {
            get { return 1f; }
        }


        public virtual void Update(GameTime gameTime)
        {            
        }
    }
}
